package com.sc.socket.chatroom.server;

/**
 * @author shuc001
 * @Date 2019-02-07 00:15
 */
public interface ClientHandlerCallback{
    /**
     * 一个回调接口,用于在出现异常时从列表删除自身
     * @param clientHandler
     */
    void onSelfClose(ClientHandler clientHandler);

    void onNewMsgArrived(ClientHandler clientHandler,String msg);
}
